# -*- mode: snippet -*-
# name: $rootScope.$on('$locationChangeSuccess', ...)
# key: aon
# group: angular
# --
$rootScope.$on('$locationChangeSuccess', function (event, newUrl, oldUrl, newState /*optional*/, oldState /*optional*/) {
  // @see https://docs.angularjs.org/api/ng/service/$location
  $0
});
